package vip.meeet.spring.config;

import org.springframework.context.annotation.*;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;

@Configuration
@ComponentScan(basePackages = {"cn.freemethod.spring.bean","cn.freemethod.spring.util","cn.freemethod.spring.aspectscan"})
@ImportResource("classpath:context.xml")
@PropertySource(value = { "classpath:db.properties" , "classpath:dubbo.properties"},ignoreResourceNotFound = true)
public class AppConfig {
 
    @Bean
    public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
        return new PropertySourcesPlaceholderConfigurer();
    }
    
}
